<html>
<head><meta charset="utf-8"><title>Assertion failed: TmpVec.size() &gt; 1 in buildUnmerge · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Assertion.20failed.3A.20TmpVec.2Esize().20.3E.201.20in.20buildUnmerge.html">Assertion failed: TmpVec.size() &gt; 1 in buildUnmerge</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="216010134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Assertion%20failed%3A%20TmpVec.size%28%29%20%3E%201%20in%20buildUnmerge/near/216010134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Assertion.20failed.3A.20TmpVec.2Esize().20.3E.201.20in.20buildUnmerge.html#216010134">(Nov 08 2020 at 14:49)</a>:</h4>
<div class="codehilite"><pre><span></span><code>Assertion failed: (TmpVec.size() &gt; 1), function buildUnmerge, file rust/src/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp, line 577.
</code></pre></div>
<p><a href="https://github.com/rust-lang/llvm-project/blob/rustc/11.0-2020-10-12/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp">LLVM source</a></p>
<p>This occurs on aarch64-apple-darwin when running <code>x.py test src/test/run-make-fulldeps/cdylib</code>. I'm looking into it, but figured I'd open a topic just in case anyone has seen it.</p>



<a name="216010279"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Assertion%20failed%3A%20TmpVec.size%28%29%20%3E%201%20in%20buildUnmerge/near/216010279" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Assertion.20failed.3A.20TmpVec.2Esize().20.3E.201.20in.20buildUnmerge.html#216010279">(Nov 08 2020 at 14:53)</a>:</h4>
<p>Looks LTO related:</p>
<div class="codehilite"><pre><span></span><code>% ~/Projects/rust/full/build/aarch64-apple-darwin/stage2/bin/rustc -C lto vivian.rs
Assertion failed: (TmpVec.size() &gt; 1), function buildUnmerge, file /Users/shepmaster/Projects/rust/src/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp, line 577.
</code></pre></div>



<a name="216010354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Assertion%20failed%3A%20TmpVec.size%28%29%20%3E%201%20in%20buildUnmerge/near/216010354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Assertion.20failed.3A.20TmpVec.2Esize().20.3E.201.20in.20buildUnmerge.html#216010354">(Nov 08 2020 at 14:55)</a>:</h4>
<p>Who are the LTO experts?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>